package com.ruoyi.system.domain.as;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * usercrop对象 as_usercrop
 *
 * @author ruoyi
 * @date 2021-08-07
 */
public class AsUsercrop extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 用户ID */
    private Long userId;

    private  Long cropTypeId;

    public Long getCropTypeId() {
        return cropTypeId;
    }

    public void setCropTypeId(Long cropTypeId) {
        this.cropTypeId = cropTypeId;
    }

    /** 作物编号 */
    private Long[] cropTypeIds;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public Long[] getCropTypeIds() {
        return cropTypeIds;
    }

    public void setCropTypeIds(Long[] cropTypeIds) {
        this.cropTypeIds = cropTypeIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("cropTypeIds", getCropTypeId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
